/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import java.sql.Connection;
import java.sql.SQLException;
import sql.JDBCConnection;

/**
 *
 * @author modesto
 */
public class DAO {
    
    private Connection conn;
    
    public DAO() throws ClassNotFoundException, SQLException {
        conn = JDBCConnection.getConnection();
    }
    
    public Connection getConnection() {
        return this.conn;
    }
}
